import request from '@/utils/request'

// 查询恒泰销售毛利查询列表
export function listHtxsml(query) {
  return request({
    url: '/flow/htxsml/list',
    method: 'get',
    params: query
  })
}

// 查询恒泰销售毛利查询详细
export function getHtxsml(xh) {
  return request({
    url: '/flow/htxsml/' + xh,
    method: 'get'
  })
}

// 新增恒泰销售毛利查询
export function addHtxsml(data) {
  return request({
    url: '/flow/htxsml',
    method: 'post',
    data: data
  })
}

// 修改恒泰销售毛利查询
export function updateHtxsml(data) {
  return request({
    url: '/flow/htxsml',
    method: 'put',
    data: data
  })
}

// 删除恒泰销售毛利查询
export function delHtxsml(xh) {
  return request({
    url: '/flow/htxsml/' + xh,
    method: 'delete'
  })
}
